3.1121 \(\int \frac{A+B x}{(a+b x)^3} \, dx\)

Optimal. Leaf size=28 \[ -\frac{(A+B x)^2}{2 (a+b x)^2 (A b-a B)} \]

[Out]

-(A + B*x)^2/(2*(A*b - a*B)*(a + b*x)^2)

_______________________________________________________________________________________

Rubi [A]  time = 0.0217736, antiderivative size = 28, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077 \[ -\frac{(A+B x)^2}{2 (a+b x)^2 (A b-a B)} \]

Antiderivative was successfully verified.

[In]  Int[(A + B*x)/(a + b*x)^3,x]

[Out]

-(A + B*x)^2/(2*(A*b - a*B)*(a + b*x)^2)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 3.38061, size = 22, normalized size = 0.79 \[ - \frac{\left (A + B x\right )^{2}}{2 \left (a + b x\right )^{2} \left (A b - B a\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((B*x+A)/(b*x+a)**3,x)

[Out]

-(A + B*x)**2/(2*(a + b*x)**2*(A*b - B*a))

_______________________________________________________________________________________

Mathematica [A]  time = 0.0148258, size = 26, normalized size = 0.93 \[ -\frac{B (a+2 b x)+A b}{2 b^2 (a+b x)^2} \]

Antiderivative was successfully verified.

[In]  Integrate[(A + B*x)/(a + b*x)^3,x]

[Out]

-(A*b + B*(a + 2*b*x))/(2*b^2*(a + b*x)^2)

_______________________________________________________________________________________

Maple [A]  time = 0., size = 35, normalized size = 1.3 \[ -{\frac{B}{ \left ( bx+a \right ){b}^{2}}}-{\frac{Ab-Ba}{2\,{b}^{2} \left ( bx+a \right ) ^{2}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((B*x+A)/(b*x+a)^3,x)

[Out]

-B/(b*x+a)/b^2-1/2*(A*b-B*a)/b^2/(b*x+a)^2

_______________________________________________________________________________________

Maxima [A]  time = 1.35635, size = 51, normalized size = 1.82 \[ -\frac{2 \, B b x + B a + A b}{2 \,{\left (b^{4} x^{2} + 2 \, a b^{3} x + a^{2} b^{2}\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((B*x + A)/(b*x + a)^3,x, algorithm="maxima")

[Out]

-1/2*(2*B*b*x + B*a + A*b)/(b^4*x^2 + 2*a*b^3*x + a^2*b^2)

_______________________________________________________________________________________

Fricas [A]  time = 0.206434, size = 51, normalized size = 1.82 \[ -\frac{2 \, B b x + B a + A b}{2 \,{\left (b^{4} x^{2} + 2 \, a b^{3} x + a^{2} b^{2}\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((B*x + A)/(b*x + a)^3,x, algorithm="fricas")

[Out]

-1/2*(2*B*b*x + B*a + A*b)/(b^4*x^2 + 2*a*b^3*x + a^2*b^2)

_______________________________________________________________________________________

Sympy [A]  time = 1.80414, size = 39, normalized size = 1.39 \[ - \frac{A b + B a + 2 B b x}{2 a^{2} b^{2} + 4 a b^{3} x + 2 b^{4} x^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((B*x+A)/(b*x+a)**3,x)

[Out]

-(A*b + B*a + 2*B*b*x)/(2*a**2*b**2 + 4*a*b**3*x + 2*b**4*x**2)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.216384, size = 32, normalized size = 1.14 \[ -\frac{2 \, B b x + B a + A b}{2 \,{\left (b x + a\right )}^{2} b^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((B*x + A)/(b*x + a)^3,x, algorithm="giac")

[Out]

-1/2*(2*B*b*x + B*a + A*b)/((b*x + a)^2*b^2)